﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Global.master" AutoEventWireup="true" CodeFile="baoming.aspx.cs" Inherits="baoming" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
    #baomingtable
    {
    	width:600px;
    }
    #baomingtable tr
    {
    	background-color:#f1f1f1;
    	height:30px;
    }
    .msg
    {
    	color:Gray;
    }
    
    /******************验证样式**************/
    .inputfoucs
    {
        font-size: 12px;
        padding: 3px;
        border: 1px solid #f7ca06;
        background: #fffbca;
        color: #cb6a24;
    }
    .inputblur
    {
        font-size: 12px;
        padding: 3px;
        background: #f8f9ff;
        border: 1px solid #c4c9fd;
        color: #6C63A3;
    }
    
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="adpic">
        <div class="adpic" align="center"><img border="0" alt="" src="images/neiye5.jpg" /></div>
    <div id="main">
        <div class="main_l">
            <!--列表 begin-->
            <div class="box33">
                <!--------------------------------------------------------------->
                <div class="box33_t">
                    <h3>
                        网上报名</h3>
                </div>
                <div class="box33_m">
                    <ul id="sidebar">
                        
                    </ul>
                </div>
                <!---------------------------------------------------------->
            </div>
        </div>
        <div class="main_r">
            <!--列表 begin-->
            <div class="box4">
                <div class="box4_t">
                    <!-------------------导航----------------------------->
                    <%--<a href="index.aspx">首页</a>&nbsp;&raquo;&nbsp;联系我们</div>--%>
                    <asp:SiteMapPath ID="SiteMapPath1" runat="server">
                    </asp:SiteMapPath>
                </div>
                <div class="box4_m">
                
                    <!----------------------主体内容------------------------------------>
                    <div>
                        <table id="baomingtable">
                            <tr>
                                <td colspan="2" align="center"><font style="font-size:large;font-weight:bold">在线报名</font></td>
                            </tr>
                            <tr>
                                <td>选择报名专业方向</td>
                                <td>
                                    <asp:DropDownList ID="ddl_Professional" runat="server" CssClass="inputblur" onFocus="showbg(this);" 
                                        onBlur="hiddenbg(this);" DataTextField="proName" DataValueField="proId">
                                    </asp:DropDownList>
                                    <span id="pro_err" class="msg">--选择您要学习的专业方向</span>
                                    
                                </td>
                            </tr>
                            <tr>
                                <td>姓名</td>
                                <td>
                                    <asp:TextBox ID="txt_Name" runat="server" onFocus="showbg(this);" CssClass="inputblur" onBlur="hiddenbg(this);"></asp:TextBox>
                                    <span class="msg" id="name_err">--您的姓名</span>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" SetFocusOnError="true" ControlToValidate="txt_Name" runat="server" ErrorMessage="请输入您的姓名"></asp:RequiredFieldValidator>
                                    </td>
                            </tr>
                            <tr>
                                <td>性别</td>
                                <td>
                                    <asp:RadioButton ID="RadioButtonN" runat="server" GroupName="sex" Text="男" Checked="true" onFocus="showbg(this);" onBlur="hiddenbg(this); />
                                    &nbsp;&nbsp;&nbsp;&nbsp;
                                    <asp:RadioButton ID="RadioButtonL" runat="server" GroupName="sex" Text="女" onFocus="showbg(this);" onBlur="hiddenbg(this);/>
                                    </td>
                            </tr>
                            <tr>
                                <td>出生年月</td>
                                <td>
                                    <asp:TextBox ID="txt_Birthday" runat="server" CssClass="inputblur" onFocus="showbg(this);" onBlur="hiddenbg(this);"></asp:TextBox>
                                    <span class="msg" id="birthday_err">--例如：1991-10-1</span></td>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txt_Birthday" SetFocusOnError="true" runat="server" ErrorMessage="请输入出生日期"></asp:RequiredFieldValidator>
                            </tr>
                            <tr>
                                <td>籍贯</td>
                                <td>
                                    <asp:TextBox ID="txt_Native" runat="server" CssClass="inputblur" onFocus="showbg(this);" onBlur="hiddenbg(this);"></asp:TextBox>
                                    <span class="msg" id="native_err">--例如：四川成都</span></td>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ControlToValidate="txt_Native" SetFocusOnError="true" runat="server" ErrorMessage="请输入您的籍贯"></asp:RequiredFieldValidator>
                            </tr>
                            <tr>
                                <td>学历</td>
                                <td>
                                    <asp:TextBox ID="txt_Degree" runat="server" CssClass="inputblur" onFocus="showbg(this);" onBlur="hiddenbg(this);"></asp:TextBox>
                                    <span class="msg" id="degree_err">--输入您的最高学历</span>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" ControlToValidate="txt_Degree" SetFocusOnError="true" runat="server" ErrorMessage="请输入的您的学历"></asp:RequiredFieldValidator>  
                                    </td>
                                    
                            </tr>
                            <tr>
                                <td>毕业院校</td>
                                <td>
                                    <asp:TextBox ID="txt_School" CssClass="inputblur" runat="server" onFocus="showbg(this);" Width="250px" onBlur="hiddenbg(this);"></asp:TextBox>
                                    <span class="msg" id="school_err">--毕业院校或者在读学校</span>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txt_School" SetFocusOnError="true" ErrorMessage="请输入您的毕业院校"></asp:RequiredFieldValidator></td>
                            </tr>
                            <tr>
                                <td>户口地址</td>
                                <td>
                                    <asp:TextBox ID="txt_Account" CssClass="inputblur" runat="server" onFocus="showbg(this);" Width="250px" onBlur="hiddenbg(this);"></asp:TextBox>
                                    <span class="msg" id="account_err">--输入您户口上你地址</span>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txt_Account" SetFocusOnError="true" ErrorMessage="请输入的您的户口地址"></asp:RequiredFieldValidator></td>
                            </tr>
                            <tr>
                                <td>现居地</td>
                                <td>
                                    <asp:TextBox ID="txt_Address" CssClass="inputblur" runat="server" onFocus="showbg(this);" Width="250px" onBlur="hiddenbg(this);"></asp:TextBox>
                                    <span class="msg" id="address_err">--您现在居住的地方</span>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="txt_Address" SetFocusOnError="true" ErrorMessage="请输入您的现在居住的地方"></asp:RequiredFieldValidator>
                                    </td>
                            </tr>
                            <tr>
                                <td>邮编</td>
                                <td>
                                    <asp:TextBox ID="txt_Zip" runat="server" CssClass="inputblur" onFocus="showbg(this);" onBlur="hiddenbg(this);"></asp:TextBox>
                                    <span class="msg" id="zip_err">--您现在居住地的邮编</span>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator8" ControlToValidate="txt_Zip" SetFocusOnError="true" runat="server" ErrorMessage="请输入邮编"></asp:RequiredFieldValidator></td>
                            </tr>
                            <tr>
                                <td>联系电话</td>
                                <td>
                                    <asp:TextBox ID="txt_Phone" runat="server" CssClass="inputblur" onFocus="showbg(this);" onBlur="hiddenbg(this);"></asp:TextBox>
                                    <span class="msg" id="phone_err">--您的手机号码，方便与您联系</span>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator9" ControlToValidate="txt_Phone" SetFocusOnError="true" runat="server" ErrorMessage="请输入您的电话号码"></asp:RequiredFieldValidator></td>
                            </tr>
                            <tr>
                                <td>邮箱</td>
                                <td>
                                    <asp:TextBox ID="txt_Mail" runat="server" CssClass="inputblur" onFocus="showbg(this);" onBlur="hiddenbg(this);"></asp:TextBox>
                                    <span class="msg" id="mail_err">--您的邮箱，有通知时便于通知您</span>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator10" ControlToValidate="txt_Mail" SetFocusOnError="true" runat="server" ErrorMessage="请输入您的邮箱"></asp:RequiredFieldValidator>
                                    </td>
                                
                            </tr>
                            <tr>
                                <td>身份证号码</td>
                                <td>
                                    <asp:TextBox ID="txt_IDCard" runat="server" CssClass="inputblur" onFocus="showbg(this);" onBlur="hiddenbg(this);"></asp:TextBox>
                                    <span class="msg" id="idcard_err">--填写真实的身份证号码，便于确认您的信息</span>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator11" ControlToValidate="txt_IDCard" SetFocusOnError="true" runat="server" ErrorMessage="请输入您的身份证号码"></asp:RequiredFieldValidator>
                                    </td>
                            </tr>
                            <tr>
                                <td>验证码</td>
                                <td>
                                    <asp:TextBox ID="txt_Verify" runat="server" CssClass="inputblur" Width="50px" onFocus="showbg(this);" onBlur="hiddenbg(this);"></asp:TextBox>
                                    <asp:Image ID="img_Code" runat="server" ImageUrl="VerifyCode.aspx" />   
                                    <span class="msg" id="Span1">--输入验证码</span>  
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ControlToValidate="txt_Verify" SetFocusOnErro="true" ErrorMessage="请输入验证码"></asp:RequiredFieldValidator>    
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2" align="center">
                                    <asp:Button ID="btn_Submit" runat="server" Text="提交" Width="70px" Height="30px" onclick="btn_Submit_Click" 
                                        /></td>
                            </tr>
                        </table>
                    </div>
                    <script type="text/javascript">
                        function showbg(e) {
                            e.style.backgroundColor = "#fee09e";
                            e.style.borderWidth = "2px";
                            e.style.borderStyle = "solid";
                            e.style.borderColor = "#87b7fe";
                            e.style.padding = "2px";
                        }
                        function hiddenbg(e) {
                            e.style.backgroundColor = "#ffffff";
                            e.style.padding = "1px";
                            e.style.borderWidth = "1px";
                            e.style.borderStyle = "solid";
                            e.style.borderColor = "#7F9DB9";
                        }
                    </script>
                    <!---------------------------------------------------------------->
                    <div ><font color="red" style="font-weight:bold">*注:</font><font style="color:Blue;">上面的信息都必需填写完毕且为真实信息</font></div>
                    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                </div>
            </div>
            <!--列表 end-->
        </div>
        <div class="clear">
        </div>
    </div>
</asp:Content>

